Skip to content

Fix for filtering anonymous function types #984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 21, 2022

Conversation

Damtev
Copy link
Member

@Damtev Damtev commented Sep 20, 2022

Description

Removed filtering out lambda classes in TypeStorage for correct work with functional interfaces.

Fixes #555.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

org.utbot.examples.lambda.PredicateNotExample#predicateNotExample

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@Damtev Damtev requested a review from CaelmBleidd September 20, 2022 15:31
@Damtev Damtev changed the title Damtev/invocation targets choice fix Fix for filtering anonymous function types Sep 20, 2022
bytes >= 1 shl 10 -> "%.0f kB".format(bytes / (1 shl 10))
else -> "$bytes bytes"
fun byteCountToDisplaySize(bytes: Long): String {
val bytesInDouble = bytes.toDouble()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this change for?

@Damtev Damtev enabled auto-merge (squash) September 20, 2022 16:23
@Damtev Damtev force-pushed the damtev/invocation_targets_choice_fix branch from a60c0e2 to ab5069e Compare September 21, 2022 13:43
@Damtev Damtev merged commit 8198463 into main Sep 21, 2022
@Damtev Damtev deleted the damtev/invocation_targets_choice_fix branch September 21, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Predicate.not() method support is needed
2 participants